package com.learn.shop.pojo.entriy;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 历史定时任务(TaskHistory)实体类
 *
 * @author zhengdechang
 * @since 2022-01-04 11:28:47
 */
public class TaskHistory implements Serializable {
    private static final long serialVersionUID = 638601605247287889L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 操作
     */
    private String operation;
    /**
     * 操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date operTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Date getOperTime() {
        return operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

}

